Skip to content

Fix compatibility with PM 5.41.0+ packet filtering#266

Merged
Muqsit merged 1 commit into
Muqsit:muqsit/fix-pm-5.41.0-packet-decodefrom
remminiscent:fix-5.41.0
Feb 19, 2026
Merged

Fix compatibility with PM 5.41.0+ packet filtering#266
Muqsit merged 1 commit into
Muqsit:muqsit/fix-pm-5.41.0-packet-decodefrom
remminiscent:fix-5.41.0

Conversation

@remminiscent
Copy link
Copy Markdown
Contributor

Adds DataPacketDecodeEvent handler to uncancel required packets (NetworkStackLatencyPacket, ContainerClosePacket, PacketViolationWarningPacket) so they reach DataPacketReceiveEvent.

@remminiscent
Copy link
Copy Markdown
Contributor Author

remminiscent commented Feb 16, 2026

im uncanceling all 3 incase future discarding. but fix needs nst and packet violation uncancelled

@Muqsit
Copy link
Copy Markdown
Owner

Muqsit commented Feb 17, 2026

Missing import statement:

use pocketmine\event\server\DataPacketDecodeEvent;

Other than that, looks good.

@Muqsit Muqsit changed the base branch from pm5 to muqsit/fix-pm-5.41.0-packet-decode February 19, 2026 08:17
@Muqsit Muqsit merged commit 4f457be into Muqsit:muqsit/fix-pm-5.41.0-packet-decode Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

INVMenu does not appear in version 1.20.70 and below InvMenu incompatible with PM 5.41.0+ packet filtering changes

2 participants